package com.clouds.wms.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.clouds.wms.bean.Purme;
import com.clouds.wms.dao.PurmeDao;
import com.clouds.wms.exception.SysException;
import com.clouds.wms.util.PagesBean;

@Service("purmeService")
public class PurmeServiceImpl implements PurmeService {
	@Resource(name="purmeDao")
	private PurmeDao purmeDao;

	@Override
	public PagesBean getPurmeList(String meaa, String meab, String meac,String startMead, String endMead, int offset, int pageSize)	throws SysException {
		return purmeDao.getPurmeList(meaa, meab, meac, startMead, endMead, offset, pageSize);
	}

	@Override
	public Purme getPurme(String meaa,String meab) throws SysException {
		return purmeDao.getPurme(meaa,meab);
	}

	@Override
	public int savePurca(Purme purme) throws SysException {
		return purmeDao.savePurca(purme);
	}
	
}
